import Sprite from '../base/Sprite'
import DataStore from '../base/DataStore'

export default class BackGround extends Sprite {
  constructor() {
    const image = Sprite.getImage('background')
    super(
      image,
      0,
      0,
      image.width,
      image.height,
      0,
      0,
      DataStore.getInstance().screenWidth,
      DataStore.getInstance().screenHeight)
  }
}